<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>仓储管理|主页</title>
<link th:href="@{/ico/han.ico}" rel="stylesheet" />
<link th:href="@{/css/bootstrap.min.css}" rel="stylesheet" />
<link th:href="@{/font-awesome/css/font-awesome.css}" rel="stylesheet" />

<link th:href="@{/css/animate.css}" rel="stylesheet" />
<link th:href="@{/css/style.css}" rel="stylesheet" />

</head>

<body>
    <div id="wrapper">
    	<!--<nav class="navbar-default navbar-static-side" role="navigation" th:include="nav :: navigation(realName=${user.getRealName()==null? null:user.getRealName()})"></nav>-->
        <nav class="navbar-default navbar-static-side" role="navigation" th:include="nav :: navigation"></nav>
	    <div id="page-wrapper" class="gray-bg">
        	<div class="border-bottom" th:include="header :: headerTop"></div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox">
                            <div class="col-lg-12">
                                    <img th:src="@{/img/dashboard1.jpg}" alt="系统主页" width="100%">
                            </div>
                    </div>
                </div>
            </div>
        	<div class="footer" th:include="footer :: copyright" ></div>
        </div>
    </div>
    <input type="hidden" id="contextPath">
    <input type="hidden" id="basePath">

    <script>
        $(document).ready(function() {
            //获取Session信息
            //getSessionInfo();
            var basePath = [[${#httpServletRequest.getServerName() + ":" + #httpServletRequest.getServerPort() + #httpServletRequest.getContextPath()}]];
            $("#basePath").val(basePath);

            var contextPath = [[${#request.getContextPath()}]];
            $("#contextPath").val(contextPath);
        });
    </script>

    <!-- Mainly scripts -->
    <script th:src="@{/js/jquery-2.1.1.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
    <script th:src="@{/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>

    <!-- Flot -->
    <script th:src="@{/js/plugins/flot/jquery.flot.js}"></script>
    <script th:src="@{/js/plugins/flot/jquery.flot.tooltip.min.js}"></script>
    <script th:src="@{/js/plugins/flot/jquery.flot.spline.js}"></script>
    <script th:src="@{/js/plugins/flot/jquery.flot.resize.js}"></script>
    <script th:src="@{/js/plugins/flot/jquery.flot.pie.js}"></script>
    <script th:src="@{/js/plugins/flot/jquery.flot.symbol.js}"></script>
    <script th:src="@{/js/plugins/flot/jquery.flot.time.js}"></script>

    <!-- Peity -->
    <script th:src="@{/js/plugins/peity/jquery.peity.min.js}"></script>
    <script th:src="@{/js/demo/peity-demo.js}"></script>

    <!-- Custom and plugin javascript -->
    <script th:src="@{/js/inspinia.js}"></script>
    <script th:src="@{/js/plugins/pace/pace.min.js}"></script>

    <!-- jQuery UI -->
    <script th:src="@{/js/plugins/jquery-ui/jquery-ui.min.js}"></script>

    <!-- Jvectormap -->
    <script th:src="@{/js/plugins/jvectormap/jquery-jvectormap-2.0.2.min.js}"></script>
    <script th:src="@{/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js}"></script>

    <!-- EayPIE -->
    <script th:src="@{/js/plugins/easypiechart/jquery.easypiechart.js}"></script>

    <!-- Sparkline -->
    <script th:src="@{/js/plugins/sparkline/jquery.sparkline.min.js}"></script>

    <!-- Sparkline demo data  -->
    <script th:src="@{/js/demo/sparkline-demo.js}"></script>

    <!-- common -->
    <script th:src="@{/js/common.js}"></script>

</body>
</html>
